import { Link } from "react-router-dom"
import { Flex } from 'antd'
import './components.css'
export default function Navigation() {
    return (
        <div>
            <Flex className="nav" gap="middle" horizontal='true' justify='center' align='center'>
                <Link to='/'>Home</Link>
                <Link to='/About'>About</Link>
                <Link to='/ant-design-table'>AntDesignTable</Link>
                <Link to='/table'>Table</Link>
            </Flex>
        </div>
    )
}